package com.lovo.front.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @description: 退货商品实体类
 * @author: real_ygs
 * @date: 3/3/2023 4:47 PM
 **/
@TableName(value = "t_return_goods")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ReturnGoodsEntity implements Serializable {

    /**
     * 退货商品id
     **/
    @TableId(type = IdType.AUTO)
    private Long returnGoodsId;
    /**
     * 退货订单id
     **/
    private Integer returnOrderId;
    /**
     * 商品编号
     **/
    private String goodsNo;
    /**
     * 商品名称
     **/
    private String goodsName;
    /**
     * 购买数量
     **/
    private Integer buyNum;
}
